import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path : "/goods",
    component : ()=> import("../pages/goods")
  },
  {
    path:'/auth',
    component:()=> import('../pages/auth.vue')
  },
  {
    path:'/tab',
    component:()=> import ('../pages/tab/tab.vue')
  },
  {
    path:'/modal',
    component: ()=>import('../container/modal/index.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
